Integrated electroporation device